package com.dailycodebuffer.springbootmongodb.service;

import com.dailycodebuffer.springbootmongodb.collection.Shipper;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import java.util.Collection;
import java.util.List;


/**
 * 业务层
 *
 * @author makejava
 * @since 2025-01-04 00:23:42
 */
public interface ShipperService {

    void save(Shipper shipper);
    Shipper findById(Integer id);

    Page<Shipper> list(Pageable page);

}

